.controls {
  margin-bottom: 20px;
  padding: 15px;
  background-color: var(--surface-subtle);
  border-radius: 4px;
}

.form-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.form-inline label {
  margin: 0;
  font-weight: 500;
}

.form-inline .form-control {
  flex: 0 1 auto;
  min-width: 150px;
}

.button-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.button-group .btn {
  white-space: nowrap;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  margin-left: 8px;
}

.recording-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.recording-indicator.recording {
  background-color: var(--status-success);
  animation: pulse 1.5s ease-in-out infinite;
}

.recording-indicator.not-recording {
  background-color: var(--placeholder-text);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.count {
  margin-left: 8px;
  color: var(--text-medium);
}

.text-danger {
  color: var(--danger);
  margin-top: 8px;
  font-size: 0.9em;
}
